
<form id="form_add">
<table>
	<tr>
		<td width="20%" align="right">计划人：</td>
		<td width="30%"><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'计划人']}"> <input type="checkbox" name="t_emp" id="t_emp"
			value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
		<td width="20%" align="right">日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$result.date]}" size="12"></td>
	</tr>
	<tr>
		<td align="right">产品：</td>
		<td><input type="text" name="mold" id="mold" size="16" value="{[$result.mold]}:{[$result.mold_t]}" title="{[$t.mold]}"></td>
		<td align="right">类型：</td>
		<td><select name='urgent'>
			{[html_options options=$urgent_option selected=$result.urgent]}
		</select></td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3"><textarea rows="2" name="name" id="name" cols="55">{[$result.name]}</textarea></td>
	</tr>
	<tr>
		<td align="right"></td>
		<td colspan="3"><select name='piece_t' id='piece_t'>
			{[html_options options=$piece_option selected=-]}
		</select> <select name='technics_t' id='technics_t'>
			{[html_options options=$technics_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td colspan="3"><input type="text" name="worker" id="worker" value="{[$result.worker]}:{[$result.worker_t]}" size="12"> <input type="checkbox" name="worker_t" id="worker_t"
			value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
	</tr>
	<tr>
		<td align="right">期限：</td>
		<td colspan="3"><input type="text" name="day" id="day" size="12" value="{[$result.day]}"> <select name='day_t' id='day_t'>
      {[html_options options=$day_option selected=-]}
      </select></td>
	</tr>	
	<tr>
		<td align="right">期间：</td>
		<td colspan="3"><input type="text" name="date1" id="date1" value="{[$result.t1|date_format:'%Y-%m-%d']}" size="12"> 至 <input
			type="text" name="date2" id="date2" value="{[$result.t2|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript"
	src="js/mold/plan/add.js?r={[$smarty.now]}"></script>
